import { UNAUTHORIZED_ERROR } from './statusCode'


class Unauthorized extends Error {
  statusCode
  constructor(message) {
    super(message)
    this.statusCode = UNAUTHORIZED_ERROR
  }
}

export default Unauthorized
